'use strict';

function collect_min_number(collection) {
  var a=collection.length;
  for(let i=0;i<a;i++){
    for(let j=0;j<a-1-i;j++){
        if(collection[j]<collection[j+1]){
          var temp=collection[j]; 
        }
   }
 }
console.log(temp);
return temp;  //在这里写入代码

}

module.exports = collect_min_number;

